<div class="divmain">
<table width="100%" id="frmmenutab_tblinfo" class="tblInfo">
<tr>
<td valign="top" class="width25"  >
<div >
<table class="info" id="frmmenutab_info">

<tr>
<td>
<div id="frmmenutab_divleft" class="divleft">

<table class="width100">
<tr >
<td class='lblRequired width35'>Tiếng Việt</td><td ><input type="text"  id="frmmenutab_txtViMenu" class="txtRequired" /></td>
</tr>
<tr >
<td class='lblRequired'>Tiếng Anh</td><td ><input type="text"  id="frmmenutab_txtEnMenu" class="txtRequired" /></td>
</tr>
<tr id="frmmenutab_trModule" >
<td class='lblRequired'>Module</td><td ><input type="text"  id="frmmenutab_txtModule" class="txtRequired"/></td>
</tr>
<tr >
<td class='lblRequired'>Menu chính</td><td id="frmmenutab_tdMainmenu">
<select id="frmmenutab_mainmenu" class="cbbRequired">
<option>--Chọn--</option>
</select>
</td>
</tr>

<tr >
<td >Thứ tự</td><td >
<input type="text" class="txtRequired isNumber" value="1" id="frmmenutab_txtOrder" />
</td>
</tr>
<tr >

<td >Loại menu</td>
<td>
<input type="radio" name="frmmenutab_menuType" id="frmmenutab_menuType0" value="0"  checked="checked" > Cơ bản &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="frmmenutab_menuType" value="1" id="frmmenutab_menuType1"  > Nâng cao
</td>
</tr>

<tr >
<td >Cấp khách hàng được</td>
<td id="frmmenutab_trLevel">

</td>
</tr>

<!--<tr >
<td >Tầm vực menu</td>
<td>
<input type="radio" name="frmmenutab_scope" value="0" id="frmmenutab_service0" checked="checked" onclick="frmmenutab_showService(0)"> Tổng quát &nbsp;&nbsp;
<input type="radio" name="frmmenutab_scope" value="1" id="frmmenutab_service1" onclick="frmmenutab_showService(1)"> Chức năng
</td>
</tr>

<tr id="frmmenutab_trServiceType" style="display:none">
<td >Loại dịch vụ</td>
<td id="frmmenutab_serviceType">

</td>
</tr> -->


</table>
<div class="divactionbuton">
<input type="hidden" id='frmmenutab_hdEdit' value="0"/>
<input type="hidden" id='frmmenutab_hdId' value=""/>
<button class="save validate btnsave" id="frmmenutab_submit" type="button"> Thêm Mới </button> <button class="clear" type="reset" id="frmmenutab_clear"> Nhập lại</button>
</div>
</div>
</td></tr>


<tr >
<td>

</td>
</tr>
</table></div>
</td>
<td class="clsmiddle"></td>
<td height="400" valign="top">
<div class="divGrid" id="frmmenutab_divGrid">
</div></td>
<td class="clsend"></td>
</tr>
</table>
</div>
<script language="javascript">


$(document).ready(function () {
    initForm('frmmenutab_tblinfo');
    initDivleft();
    $('#frmmenutab_mainmenu').live('change',function(){
       xajax_frmmenutab_loadGrid($(this).val()); 
    });
});
function frmmenutab_showService(status){
  if(status==0){
    $('#frmmenutab_trServiceType').hide();  
    $('#frmmenutab_cbbService').hide();  
  }else{
    $('#frmmenutab_trServiceType').show();       
    $('#frmmenutab_cbbService').show();            
  }  
}
xajax_frmmenutab_initPage();
xajax_frmmenutab_loadGrid();

</script>
